package com.itcast.netty.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * NETT服务器配置类
 *
 * @author zheng.zhang
 */
@Data
@Component
@ConfigurationProperties(prefix = "netty")
public class NettyProperties {
    /**
     * 端口号
     */
    private Integer port;
}
